package com.tql.kingdee.service;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.dynamic.datasource.annotation.Master;
import com.ruoyi.common.datasource.annotation.Slave;
import com.tql.kingdee.bean.TqlStapPriceBean;
import com.tql.kingdee.response.MaterialIncaseResponse;
import com.tql.kingdee.response.MaterialPurchaseResponse;
import com.tql.kingdee.response.MaterialTransferoutResponse;

import java.util.List;

/**
 * @author zhengcl
 * @since 1.0.0
 */
public interface DsTestService {

    @Slave
    int selectSlaveAndInsert();

//    @Slave
//    int init();

    @Slave
    void batchAddIncase(List<MaterialIncaseResponse> list, String inChangeTabName, int type);

    @Slave
    void batchAddPurchase(List<MaterialPurchaseResponse> list, String inChangeTabName, int type);

    @Slave
    void batchAddTransferoutIn(List<MaterialTransferoutResponse> list, String inChangeTabName, int type);

    @Slave
    void batchAddTransferoutOut(List<MaterialTransferoutResponse> list, String inChangeTabName, int type);

    TqlStapPriceBean getTqlStapPrice(String fMaterialIdfnumber);
}
